package com.demo.design01.mq;

import com.alibaba.fastjson.JSON;

/**
 * 内部订单mq
 * @author ytj
 * @date 2022/2/21
 */
public class OrderMq {
    private String uid;//用户id

    private String sku;//商品

    private String orderId;//订单id

    private String createOrderTime;//下单时间

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCreateOrderTime() {
        return createOrderTime;
    }

    public void setCreateOrderTime(String createOrderTime) {
        this.createOrderTime = createOrderTime;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
